package com.wooophone.buyi.biz.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;

import com.wooophone.buyi.bean.WeiboUser;
import com.wooophone.buyi.biz.WeiboUserBiz;
import com.wooophone.buyi.dao.WeiboUserDao;

public class WeiboUserBizImpl implements WeiboUserBiz {
	
	@Autowired
	WeiboUserDao weiboUserDao;
	public void setWeiboUserDao(WeiboUserDao weiboUserDao) {
		this.weiboUserDao = weiboUserDao;
	}

	@Override
	public void save(WeiboUser obj) {
		weiboUserDao.save(obj);
	}

	@Override
	public void update(WeiboUser obj) {
		weiboUserDao.update(obj);
	}

	@Override
	public void delete(String id) {
		weiboUserDao.delete(id);
	}

	@Override
	public WeiboUser get(String id) {
		return weiboUserDao.get(id);
	}

	@Override
	public List<WeiboUser> list() {
		return weiboUserDao.list();
	}

	@Override
	public List<WeiboUser> listByLimit(int pageNo, int pageSize) {
		return listByLimit(pageNo, pageSize);
	}

	@Override
	public long count() {
		return weiboUserDao.count();
	}

	@Override
	public WeiboUser getByUid(String uid) {
		return weiboUserDao.getByUid(uid);
	}
}
